#include <OtherPhysicalObjects.h>
Inheritance diagram for OtherPhysicalObjects:

Public Member Functions | |
| OtherPhysicalObjects (TraffEduObject *object, char second, float third, float fourth, float height=0) | |
| OtherPhysicalObjects (TraffEduObject *object) | |
| ~OtherPhysicalObjects () | |
| int | create (osg::ref_ptr< osg::PositionAttitudeTransform > transform) |
| double | update (double step) |
| void | odeDraw () |
| dGeomID | getGeomID () |
| void | setCollusion () |
Private Attributes | |
| dGeomID | geomID |
| dBodyID | bodyID |
| Prism | prismGeom |
| Cylinder | cylinderGeom |
| string | geomType |
| osg::ref_ptr< osg::Group > | root |
| TraffEduObject * | object |
Definition at line 5 of file OtherPhysicalObjects.h.
|
||||||||||||||||||||||||
|
A constructor.
Definition at line 2 of file OtherPhysicalObjects.cpp. References cylinderGeom, geomType, object, prismGeom, and root. |
|
|
A constructor. Definition at line 21 of file OtherPhysicalObjects.cpp. |
|
|
A destructor. Definition at line 18 of file OtherPhysicalObjects.cpp. |
|
|
a normal member taking one argument and returning an integer value.
Definition at line 24 of file OtherPhysicalObjects.cpp. References PhysicsClient::_space, PhysicsClient::_world, cylinderGeom, geomID, geomType, and prismGeom. |
|
|
Definition at line 41 of file OtherPhysicalObjects.h. References geomID. |
|
|
A pure virtual member. Implements PhysicsClient. Definition at line 70 of file OtherPhysicalObjects.cpp. |
|
|
a normal member. Reimplemented from PhysicsClient. Definition at line 74 of file OtherPhysicalObjects.cpp. References TraffEduObject::getObjectPAT(), and object. |
|
|
a normal member taking one argument and returning a double.
Implements PhysicsClient. Definition at line 53 of file OtherPhysicalObjects.cpp. References geomID, TraffEduObject::getObjectPAT(), TraffEduObject::getObjectType(), object, and VEHICLE. |
|
|
Definition at line 48 of file OtherPhysicalObjects.h. |
|
|
Definition at line 50 of file OtherPhysicalObjects.h. Referenced by create(), and OtherPhysicalObjects(). |
|
|
Definition at line 47 of file OtherPhysicalObjects.h. Referenced by create(), getGeomID(), and update(). |
|
|
Definition at line 51 of file OtherPhysicalObjects.h. Referenced by create(), and OtherPhysicalObjects(). |
|
|
Definition at line 53 of file OtherPhysicalObjects.h. Referenced by OtherPhysicalObjects(), setCollusion(), and update(). |
|
|
Definition at line 49 of file OtherPhysicalObjects.h. Referenced by create(), and OtherPhysicalObjects(). |
|
|
Definition at line 52 of file OtherPhysicalObjects.h. Referenced by OtherPhysicalObjects(). |
1.4.6-NO